import request from '@/utils/request'

export function getList(params) {
  return request({
    url: 'log/apihistory/getlist',
    method: 'get',
    params
  })
}

export function delAllError() {
  return request({
    url: 'log/apihistory/delete',
    method: 'post'
  })
}

export function delAllInfo() {
  return request({
    url: 'log/apihistory/delinfo',
    method: 'post'
  })
}

export function getChangeList(params) {
  return request({
    url: 'config/ChangeHistory/GetPageList',
    method: 'get',
    params
  })
}

export default { getList, delAllError, getChangeList }
